import { RouteRecordRaw } from 'vue-router'
const Layout = () => import('@/layout/index.vue')

const testRoutes: RouteRecordRaw ={
  path: '/test',
  name: 'Test',
  meta: { 
    title: 'components', 
    // icon: 'el-icon-s-data',
    icon: 'user',
    sort: 2,
  },
  component: Layout,
  children: [
    {
      path: 'table',
      name: 'Table',
      meta: { 
        title: 'table' 
      },
      component: () => import('@/views/test/table.vue'),
    },
    {
      path: 'form',
      name: 'Form',
      meta: { 
        title: 'form' 
      },
      component: () => import('@/views/test/form.vue'),
    }
  ]
}

export default testRoutes;